package com.twt.common.exceptions;

import com.twt.common.pojo.ResultCodeEnum;
import lombok.Data;

public class AppException extends RuntimeException{
    @Deprecated
    public AppException(ResultCodeEnum resultCodeEnum) {
        super(resultCodeEnum.getMsg());
    }

    public AppException(String msg){
        super(msg);
    }
}
